package com.yy.train.ticket.utils;


import com.yy.train.ticket.train.entity.TuUserEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 统一返回结果的类
 * @author yy
 * @createTime 2022/8/15
 */
@Data
public class Result<T> implements Serializable {



    /**返回消息**/
    private String msg;


    /**返回数据**/
    private List<T> data = new ArrayList<T>();

    private TuUserEntity tuUserEntity;

    /**token数据**/
    private String jwt;

}

